package com.equdao.car_violation_inquiry.service.impl;

import com.equdao.car_violation_inquiry.dao.ViolationLoginDao;
import com.equdao.car_violation_inquiry.pojo.WebPageLoginDO;
import com.equdao.car_violation_inquiry.service.ViolationLoginService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author: 杨忠强
 * @Date: 2018/8/1 10:57
 * @Description:
 */
@Service
public class ViolationLoginServiceImpl implements ViolationLoginService{

    @Autowired
    ViolationLoginDao violationLoginDao;



    @Override
    public WebPageLoginDO doLogin(String userName, String password) {
        WebPageLoginDO hasUsder = violationLoginDao.doLogin(userName,password);

        return hasUsder;

    }
}
